<?php 
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    
	 protected function _initDoctype()
    {
        Zend_Session::start();
		$this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('XHTML1_TRANSITIONAL');
		Zend_Dojo::enableView($view);
		$view->dojo()->setDjConfigOption('usePlainJson', true)
					 ->setDjConfigOption('isDebug', true)
					 ->addStylesheetModule('dijit.themes.tundra')
					 //->addStylesheet('../js/dojox/grid/_grid/tundraGrid.css')
					 //->setLocalPath('http://192.168.1.25/AML/admin/js/Dojo/dojo/dojo.js')
					 //->addLayer('../js/paste/main.js')
					// // ->addLayer('/js/paste/paste.js')
					// ->registerModulePath('../paste', 'paste')
					 //->addJavascript('paste.main.init();')
					 ->disable();
                
    }

	protected function _initAutoload()
    {
       Zend_Session::start();
	    $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => 'AML',
            'basePath'  => dirname(__FILE__),
        ));
        
  		return $autoloader;
    }
	
}